package org.mozhu.zufang.showcase.crud.repository;

import org.mozhu.mboot.core.data.BaseRepository;
import org.mozhu.zufang.showcase.crud.entity.Sample;
import org.springframework.stereotype.Repository;

/**
 * 示例 - 持久化层接口
 *
 * @author ZhangPei
 */
@Repository
public interface SampleRepository extends BaseRepository<Sample, Long> {

    Sample findByEmail(String email);
}
